package com.ruoyi.business.controller;

import com.ruoyi.common.core.domain.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Tellsea
 * @date 2024/2/1
 */
@Api(tags = "审批记录Controller")
@RestController
@RequestMapping("/app/auditLog")
@RequiredArgsConstructor(onConstructor_ = @Autowired)
public class AppRegisterController {

    @ApiOperation("查询报名信息")
    @GetMapping("/getRegister")
    public AjaxResult getRegister() {
        // todo
        return AjaxResult.success();
    }

    @ApiOperation("查询报到须知")
    @GetMapping("/getSure")
    public AjaxResult getSure() {
        // todo
        return AjaxResult.success();
    }

    @ApiOperation("更新报到信息")
    @GetMapping("/updateSure")
    public AjaxResult updateSure() {
        // todo 更新报到时间、地点、备注、报到状态、去掉标签
        // 学员端：通知状态，已确认之后，修改通知状态为已确认、修改报到状态为待报到
        return AjaxResult.success();
    }
}
